﻿@using Cinema_Ticketing_System.Models;
@{

    ViewBag.Title = "HomePage";
}

@section styles{
    <style>
        #adv{
            background-color:orange;
            color:white;
        }
        a{
            text-decoration:none;
        }
    </style>
}

<from class="form-horizontal" action="/HomePage/HomePage" method="post">
    <div class="col-lg-12">
        <div class="col-lg-3">
            <div class="col-lg-12">
                <select name="area" class="form-control" id="area">
                    <option value=-99>--请选择班级--</option>
                    @foreach (var item in ViewBag.lsitarea as List<area_table>)
                    {
                        <option value="@item.areaid">@item.areaname</option>
                    }
                </select>
            </div>
            <div class="col-lg-12">
                @foreach (var item in ViewBag.listname as List<cinema_table>)
                {
                    <div>@item.cinemaname;</div>
                }
            </div>
            <div class="col-lg-12"><img src="" /></div>
        </div>
        <div class="col-lg-6">
            <img src="" />
        </div>
        <div class="col-lg-3">
            <div class="col-lg-6 adv"><a href="#">办卡即送电影票</a></div>
            <div class="col-lg-6 adv"><a href="#">卖座电影APP下载</a></div>
            <div class="col-lg-6 adv"><a href="#">卖座网专题汇总</a></div>
            <div class="col-lg-6 adv"><a href="#">农行信用卡看大片</a></div>
        </div>
    </div>
    <div class="col-lg-12">
        <div class="col-lg-10 adv"><a href="#">正在上映</a></div>
        <div class="col-lg-2"><a href="#">更多电影>></a></div>
    </div>
    <div class="col-lg-12">
        @foreach (var item in ViewBag.listshowfilm as List<film_table>)
        {
            <div class="col-lg-2">
                <div><img src="~/imgs/+@item.cover" /></div>
                <div>@item.filmname</div>
            </div>
        }
    </div>
    <div class="col-lg-12"><img src="" /></div>
    <div class="col-lg-12">
        <div class="col-lg-10 adv"><a href="#">即将上映</a></div>
        <div class="col-lg-2"><a href="#">更多电影>></a></div>
    </div>
    <div class="col-lg-12">
        @foreach (var item in ViewBag.listunreleasedfilm as List<film_table>)
        {
            <div class="col-lg-2">
                <div><img src="~/imgs/+@item.cover" /></div>
                <div>@item.filmname</div>
            </div>
        }
    </div>
</from>

